<#escape x as x?html>
<div class="bjui-pageContent">
    <form action="${ctx}/business/leave/edit" class="pageForm" data-toggle="validate" data-reload-navtab="true">
		<input type="hidden" name="processDefinitionKey" value="leave">
		<input type="hidden" name="leaveId" value="${leave.leaveId}">
		<div class="tab-content">
			<div class="tab-pane fade active in" id="roleInfo">
		    	 <table class="table table-condensed table-hover">
		            <tbody>
			            <tr>
			                <td>
			                    <label for="userName" class="control-label x90">请假人姓名：</label>
			                    ${leave.userName}
			                </td>
			                <td>
			                    <label for="type" class="control-label x90">请假类型：</label>
			                    <@h.select name="type" list=fn.getDicValue('LEAVE_TYPE')/>
			                </td>
			            </tr>
			            <tr>
			                <td>
			                    <label for="startDate" class="control-label x90">开始日期：</label>
			                    <input type="text" name="startDate" id="startDate" value="${leave.startDate}" data-rule="required" size="12" data-toggle="datepicker" placeholder="点击选择日期">
			                </td>
			                <td>
			                    <label for="endDate" class="control-label x90">结束日期：</label>
			                    <input type="text" name="endDate" id="endDate" value="${leave.endDate}" data-rule="required" size="12" data-toggle="datepicker" placeholder="点击选择日期">
			                </td>			                
			            </tr>			            
			            <tr>
			                <td colspan="2">
			                    <label for="reason" class="control-label x90">请假原因：</label>
								<input type="text" name="reason" id="reason" value="${leave.reason}" data-rule="required" size="40">
			                </td>
			            </tr>
			            <tr>
			                <td colspan="2">
			                    <label for="remark" class="control-label x90">备注：</label>
								<textarea name="remark" id="remark" rows="10" cols="40">${leave.remark}</textarea>
			                </td>
			            </tr> 
		            </tbody>
		        </table>
			</div>

		</div>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li>
            <button type="button" class="btn-close">关闭</button>
        </li>
        <li>
            <button type="submit" class="btn-green">保存</button>
        </li>
    </ul>
</div>
</#escape>